md-dialog {

    &.datepicker-dialog {
        max-height: none;

        md-content {
            padding: 0;

            table {
                padding: 8px;

                thead {
                
                    .week-labels {
                        height: 28px;
                    }
                }
                tbody {
                    button {
                        background-color: #fff;
                        color: rgb(64, 64, 64);
                        border: 3px solid #fff !important;
                        font-size: inherit;

                        &.active{
                            color: rgb(0, 148, 255) !important;
                            
                        }

                        &:focus, &:hover {
                            border: 3px solid rgb(0, 148, 255) !important;
                        }

                    }
                }

                &.day {
                    tbody {
                        button {
                            border-radius: 50%;
                            border: 3px solid #fff;
                            width: 28px;
                            height: 28px;
                        }
                    }
                }
            }
        }
    }

    &.timepicker-dialog {
        md-content {
            padding: 0;

            input {
                width: 50px;
                text-align: center;
            }

            tr > td {
                text-align: center;
            }
        }
    }

    &.datepicker-dialog, &.timepicker-dialog, &.percentselector-dialog, &.hashtagselector-dialog, &.linkselector-dialog, &.priceselector-dialog {
        input {
            padding: 4px;
            border: 1px solid #666;
        }

        .toolbar {
            background-color: rgb(9, 55, 152);
            color: #fff;
            font-size: 16px;
            padding: 8px;
        }
        .header {
            background-color: rgb(0, 148, 255);
            color: #fff;
            font-size: 24px;
            line-height: 30px;
            padding: 8px;
            min-height: 60px;

            strong {
                font-size: 32px;
                line-height: 36px;
            }
        }
        input {
            margin: 8px;
            width: auto;
        }
    }
}
